<#compress>
<!doctype html>
<html>
<head>
    <meta charset="utf-8">
    <meta content="width=device-width, initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0,  user-scalable=0;" name="viewport" />
    <meta content="yes" name="apple-mobile-web-app-capable" />
    <meta content="black" name="apple-mobile-web-app-status-bar-style"  />
    <meta content="telephone=no" name="format-detection" />
    <link rel="stylesheet" href="${ctx}/static/mobileweb/1/css/common_gift.css?_=${.now?string}">
    <title>我的礼品</title>
</head>
<body class="graybg">
<div class="midcontent">
    <ul class="topItem clearfix">
        <li class="${status?string('', 'on')}"><a href="${ctx}/mobileweb/gift/mine?mid=${mid}&wxno=${wxno}&status=false">未领的奖品</a></li>
        <li class="${status?string('on', '')}"><a href="${ctx}/mobileweb/gift/mine?mid=${mid}&wxno=${wxno}&status=true">历史记录</a></li>
    </ul>



    <#if mines?? && mines?size gt 0>
        <#list mines as m>
            <ul class="prizelists clearfix">
                <li class="leftbox">
                    <a href="#"><img src="${ctx}/${m.cover!}" class="wdh100"/></a>
                    <p class="desc">${m.name!}</p>
                </li>
                <li class="rightbox">
                    <h4><img src="${ctx}/static/mobileweb/1/images/coinIco.png" class="vermid mr10"/>${m.gintegral!}积分</h4>
                    <p class="time">活动时间：${m.begin_time?string('yyyy-MM-dd')}至${m.end_time?string('yyyy-MM-dd')}</p>
                    <p class="vercode">验证码：${m.voucher!}</p>
                    <p class="receive"><a href="#"><#if m.receive?? && m.receive>已领取<#else>未领取</#if></a></p>
                </li>
            </ul>
        </#list>
    <#else>
        <div style="text-align:center;padding:20px 0; background:#ECECEC; box-shadow:none;">
                             <span>
                                 <img style="max-width:20%;" src="${ctx}/static/mobileweb/1/images/tipWarIco.jpg" alt=""/>
                             </span>
            <p style="color:#ccc;margin-top:4px;">暂无数据！</p>
        </div>
    </#if>
</div>
</body>

<script>
    document.addEventListener('WeixinJSBridgeReady', function onBridgeReady() {
        WeixinJSBridge.call('hideToolbar');
    });
</script>

</html>
</#compress>